<template>
    <div style="margin-top: 10px; text-align: center">
        <span slot="footer" class="dialog-footer">
          <el-button @click="diaClose">取 消</el-button>
          <el-button type="primary" @click="save">保 存</el-button>
        </span>
      </div>
</template>

<script>
export default {
  name: 'DiaSubmit',
  methods: {
    diaClose () {
      this.$emit('diaClose')
    },
    save () {
      this.$emit('save')
    }
  }
}
</script>

<style lang="scss" scoped>
.dialog-footer {
  display: flex;
  justify-content: center;
}
</style>